Optimal. Leaf size=55 \[ -\frac {3 \sqrt {b} \tan ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {b}}\right )}{2 a^{5/2}}+\frac {3 x}{2 a^2}-\frac {x^3}{2 a \left (a x^2+b\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.444, Rules used = {193, 288, 321, 205} \[ -\frac {3 \sqrt {b} \tan ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {b}}\right )}{2 a^{5/2}}+\frac {3 x}{2 a^2}-\frac {x^3}{2 a \left (a x^2+b\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 193
Rule 205
Rule 288
Rule 321
Rubi steps
\begin {align*} \int \frac {1}{\left (a+\frac {b}{x^2}\right )^2} \, dx &=\int \frac {x^4}{\left (b+a x^2\right )^2} \, dx\\ &=-\frac {x^3}{2 a \left (b+a x^2\right )}+\frac {3 \int \frac {x^2}{b+a x^2} \, dx}{2 a}\\ &=\frac {3 x}{2 a^2}-\frac {x^3}{2 a \left (b+a x^2\right )}-\frac {(3 b) \int \frac {1}{b+a x^2} \, dx}{2 a^2}\\ &=\frac {3 x}{2 a^2}-\frac {x^3}{2 a \left (b+a x^2\right )}-\frac {3 \sqrt {b} \tan ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {b}}\right )}{2 a^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 51, normalized size = 0.93 \[ -\frac {3 \sqrt {b} \tan ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {b}}\right )}{2 a^{5/2}}+\frac {b x}{2 a^2 \left (a x^2+b\right )}+\frac {x}{a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.90, size = 136, normalized size = 2.47 \[ \left [\frac {4 \, a x^{3} + 3 \, {\left (a x^{2} + b\right )} \sqrt {-\frac {b}{a}} \log \left (\frac {a x^{2} - 2 \, a x \sqrt {-\frac {b}{a}} - b}{a x^{2} + b}\right ) + 6 \, b x}{4 \, {\left (a^{3} x^{2} + a^{2} b\right )}}, \frac {2 \, a x^{3} - 3 \, {\left (a x^{2} + b\right )} \sqrt {\frac {b}{a}} \arctan \left (\frac {a x \sqrt {\frac {b}{a}}}{b}\right ) + 3 \, b x}{2 \, {\left (a^{3} x^{2} + a^{2} b\right )}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 42, normalized size = 0.76 \[ -\frac {3 \, b \arctan \left (\frac {a x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a^{2}} + \frac {x}{a^{2}} + \frac {b x}{2 \, {\left (a x^{2} + b\right )} a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 43, normalized size = 0.78 \[ \frac {b x}{2 \left (a \,x^{2}+b \right ) a^{2}}-\frac {3 b \arctan \left (\frac {a x}{\sqrt {a b}}\right )}{2 \sqrt {a b}\, a^{2}}+\frac {x}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.98, size = 45, normalized size = 0.82 \[ \frac {b x}{2 \, {\left (a^{3} x^{2} + a^{2} b\right )}} - \frac {3 \, b \arctan \left (\frac {a x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a^{2}} + \frac {x}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.10, size = 43, normalized size = 0.78 \[ \frac {x}{a^2}+\frac {b\,x}{2\,\left (a^3\,x^2+b\,a^2\right )}-\frac {3\,\sqrt {b}\,\mathrm {atan}\left (\frac {\sqrt {a}\,x}{\sqrt {b}}\right )}{2\,a^{5/2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.28, size = 83, normalized size = 1.51 \[ \frac {b x}{2 a^{3} x^{2} + 2 a^{2} b} + \frac {3 \sqrt {- \frac {b}{a^{5}}} \log {\left (- a^{2} \sqrt {- \frac {b}{a^{5}}} + x \right )}}{4} - \frac {3 \sqrt {- \frac {b}{a^{5}}} \log {\left (a^{2} \sqrt {- \frac {b}{a^{5}}} + x \right )}}{4} + \frac {x}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________